package com.gtt.pattern.creational.builder;

/**
 * Bike Builder
 * 
 * @author Michael(gao12581@sina.com)
 * @date 2011-2-24 08:43:48
 * 
 */
public class BikeBuilder extends Builder {

    public BikeBuilder() {
        this.product = new Product("自行车");
    }

    @Override
    public void buildDoors() {
        this.product.setDoor("没有门");
    }

    @Override
    public void buildEngine() {
        this.product.setEngine("脚踏");
    }

    @Override
    public void buildFrame() {
        this.product.setFrame("二八式");
    }

    @Override
    public void buildWheels() {
        this.product.setWheels("两轮");
    }

}
